package com.read.service.impl;

import com.read.dto.result.NovelNameResultDto;
import com.read.mapper.NovelSystemRecommendMapper;
import com.read.service.SystemRecommendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author sh-sunb6
 * @description
 * @date 2019-03-15 15:28
 */
@Service
public class SystemRecommendServiceImpl implements SystemRecommendService {

    @Autowired
    private NovelSystemRecommendMapper novelSystemRecommendMapper;

    @Override
    public List<NovelNameResultDto> selectSystemRecommendByTypeChannel(int type, int channel) {
        return novelSystemRecommendMapper.selectSystemRecommendByTypeChannel(type, channel);
    }
}
